{load_language_text section="checkout_shipping_address"}
{load_language_text section="checkout_navigation" name="nav"}
{config_load file="$language/gm_lang_$language.conf" section="lightbox"}

{if $LIGHTBOX == 'true'}<div id="lightbox_content" style="display:none">{/if}
<div id="checkout_shipping" class="order_shipping{if $LIGHTBOX == 'true'} lightbox_block{/if}">
	<div class="process_bar">
		<ul>
			<li><label><span>{$txt.text_shoppingcart}</span></label></li>
			<li><label><span>{$txt.text_yourdata}</span></label></li>
			<li class="active"><label><span>{$txt.text_shipandpay}</span></label></li>
			<li><label><span>{$txt.text_confirm}</span></label></li>
		</ul>
	</div>


	<h1>
		{$txt.heading_address}
	</h1>

	{$FORM_ACTION}

	<h2 class="underline overline">
		<img class="png-fix" src="{$tpl_path}img/icons/address.png" alt="" /> {$txt.title_current_address}
	</h2>
	<p>
		{$txt.text_current_address}<br /><p class="address">{$ADDRESS_LABEL}</p>
	</p>

	{if $BLOCK_ADDRESS}
		<h2 class="underline overline">
			<img class="png-fix" src="{$tpl_path}img/icons/address.png" alt="" /> {$txt.title_old_addresses}
		</h2>
		<p>
			{$txt.text_old_addresses}
		</p>
		{$BLOCK_ADDRESS}
	{/if}
	<br />

	
	{if $MODULE_new_address}
		{$MODULE_new_address}
	{/if}
	
	{if $GM_PRIVACY_LINK != '0'}
	<br />
	<div id="gm_privacy">	
		{$GM_PRIVACY_LINK}
	</div>
	<br />
	{/if}

	<input type="hidden" name="action" value="submit" />

	{* TODO: write action_page_back handler *}
	<div class="back_button"><a href="{$BUTTON_BACK_LINK}" class="button_grey_big button_set_big action_page_back"><span class="button-outer"><span class="button-inner">{$nav.text_button_back}</span></span></a></div>
	<div class="continue_button"><a href="{page_url}#" class="button_green_big button_set_big action_submit"><span class="button-outer"><span class="button-inner"><img src="{$tpl_path}img/icons/icon-white-shoppingcart.png" alt="" style="margin-right:10px; float:left" />{$nav.text_button_more}</span></span></a></div>

	{$FORM_END}
</div>
{if $LIGHTBOX == 'true'}</div>{/if}